Quantized Feedback Control Software Synthesis from System Level Formal Specifications
نویسندگان
چکیده
Many Embedded Systems are indeed Software Based Control Systems (SBCSs), that is control systems whose controller consists of control software running on a microcontroller device. This motivates investigation on Formal Model Based Design approaches for automatic synthesis of SBCS control software. In previous works we presented an algorithm, along with a tool QKS implementing it, that from a formal model (as a Discrete Time Linear Hybrid System, DTLHS) of the controlled system (plant), implementation specifications (that is, number of bits in the Analog-to-Digital, AD, conversion) and System Level Formal Specifications (that is, safety and liveness requirements for the closed loop system) returns correct-by-construction control software that has a Worst Case Execution Time (WCET) linear in the number of AD bits and meets the given specifications. In this technical report we present full experimental results on using it to synthesize control software for two versions of buck DC-DC converters (single-input and multi-input), a widely used mixed-mode analog circuit. 1 ar X iv :1 10 5. 56 40 v5 [ cs .S Y ] 2 0 Ju n 20 12 1. Every T seconds (sampling time) do 2. Read AD conversion x̂ of plant sensor outputs x 3. If (x̂ is not in the Controllable_Region) 4. Then // Exception (Fault Detected): 5. Start Fault Isolation and Recovery (FDIR) 6. Else // Nominal case: 7. Compute (Control_Law) command û from x̂ 8. Send DA conversion u of û to plant actuators Figure 1: A typical control loop skeleton
منابع مشابه
Several Strategies of Reactive System Program Synthesis
Reactive systems, such as operating systems or elevator control systems, are systems that ideally never terminate and are intended to maintain some interaction with their environment. Temporal logic is one of the methods for formal specification descriptions of reactive systems. By describing the formal specifications of reactive systems we can check the consistency of the specifications and wh...
متن کاملYIP Formal Synthesis of Software-Based Control Protocols for Fractionated, Composable Autonomous Systems
This project develops methods and tools for formally synthesizing distributed, softwarebased control protocols for autonomous systems. It tackles the challenge of establishing trust in autonomous systems through a shift from the traditional “design+verify” approach to “specify+synthesize.” Specifically, it focuses on fractionated system architectures, where heterogeneous modules delivering dist...
متن کاملUnsynthesizable Cores - Minimal Explanations for Unsynthesizable High-Level Robot Behaviors
With the increasing ubiquity of multi-capable, general-purpose robots arises the need for enabling non-expert users to command these robots to perform complex high-level tasks. To this end, high-level robot control has seen the application of formal methods to automatically synthesize correct-byconstruction controllers from user-defined specifications; synthesis fails if and only if there exist...
متن کاملFormal Equivalence Checking of Software Specifications
Ever-growing complexity is forcing logic design to move above the register transfer level (RTL). For example, functional specifications are being written in software. These specifications are written for clarity, and are not optimized or intended for synthesis. Since the software is the target of functional validation, equivalence verification between the software specification and the RTL impl...
متن کاملFormally Modeling a Metal Processing Plant and its Closed Loop Specifications
We present a case study on automatic synthesis of control software from formal speciications for an industrial automation control system. Our aim is to compare the eeectiveness (i.e. design eeort and controller quality) of automatic controller synthesis from closed loop formal speciications with that of manual controller design followed by automatic veriication. The system to be controlled (pla...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1107.5638 شماره
صفحات -
تاریخ انتشار 2011